<template>
<div>
  <h1>你的入学测试得分：{{score}}</h1>
  <button @click="examAgain" v-if="score<60">学习后再复试一次</button>
</div>
</template>
<script>
export default{
  data(){
  	return {
  	  score:59,
  	}
  },
  methods:{
    examAgain(){
      this.score+=10
    }
  }
}
</script>